<fmt:message key="loanRequest.number"/>:<strong>${loanRequest.number}</strong>
|<fmt:formatDate value="${loanRequest.requestDate}" pattern="${datePattern}"/>

    <security:authorize ifAnyGranted="ROLE_DEALER_USER">
            |<strong><fmt:message key="REQUEST_STATUS_${loanRequest.status}"/></strong>
    </security:authorize>
        <security:authorize ifNotGranted="ROLE_DEALER_USER">
       | <strong><fmt:message key="PHASE_${loanRequest.phase}"/></strong>
        </security:authorize>

            <c:if test="${loanRequest.phase != 'draft'}">
                |<fmt:message key="loanRequest.auditUser" />:
                <security:authorize ifAnyGranted="ROLE_DEALER_USER">
                <c:choose>
                    <c:when test="${loanRequest.auditUser.hasRole('ROLE_CC') or loanRequest.auditUser.hasRole('ROLE_CA') or loanRequest.auditUser.hasRole('ROLE_SCA') or loanRequest.auditUser.hasRole('ROLE_Booking')}">
                        <strong>${loanRequest.auditUser.username}</strong>
                    </c:when>
                    <c:otherwise>
                        <strong><fmt:message key="loanRequest.audit"/></strong>
                    </c:otherwise>
                </c:choose>
                </security:authorize>
                <security:authorize ifNotGranted="ROLE_DEALER_ADMIN,ROLE_DEALER_USER">
                    <strong>${loanRequest.auditUser.username}</strong>
                </security:authorize>
            </c:if>
<c:if test="${loanRequest.dealerUser.username!=pageContext.request.remoteUser}">
              |<fmt:message key="loanRequest.dealer" />:
              <strong>${loanRequest.dealer.name}</strong>
        |<fmt:message key="loanRequest.dealerUser"/>:
              <strong>${loanRequest.dealerUser.username}</strong>
       |${loanRequest.dealerUser.phoneNumber}
    </c:if>
      <c:if test="${loanRequest.contractNo != null}">
              |<fmt:message key="loanRequest.contractNo"/>
              <strong>${loanRequest.contractNo}</strong>

          <c:if test="${loanRequest.phase!='draft' and loanRequest.phase!='bank_credit_audit' and loanRequest.phase!='dealer_submit' and loanRequest.phase!='bond_request_audit' and loanRequest.phase!='dealer_apply_loan'}">
           |<fmt:message key="loanRequest.sendBack"/>:
              ${loanRequest.sendback?'Y':'N'}
              |<fmt:message key="ACTION_bookingCanPrepay"/>:
              ${loanRequest.canPrepay?'Y':'N'}
          </c:if>
      </c:if>
